<?php

session_start();

if ($_SESSION['logged_in'] == 1) {
    $_SESSION['logged_in'] = 0;
}
exit("<html><head><meta    http-equiv='Refresh' content='0;    URL=index.php'></head></html>");
?>